Assessment of visual capacity